package cn.glutnn.subject.application.convert;

import cn.glutnn.subject.application.dto.SubjectAnswerDTO;
import cn.glutnn.subject.domain.enyity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Author:   msh
 * Date:     2024/11/26 下午8:13
 * Description:
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);

    SubjectAnswerBO convertDtoToBo(SubjectAnswerDTO subjectAnswerDTO);

    List<SubjectAnswerBO> convertDtoListToBoList(List<SubjectAnswerDTO> subjectAnswerDTOList);
}
